package com.rogo.rogobox
{
	import com.rogo.rogobox.models.data.User;
	import com.rogo.rogobox.views.components.consts.PageMainConst;

	public class App
	{
		public function App()
		{
		}
		
		//--------------------------------------------------------------------------
		//
		//  Constants
		//
		//--------------------------------------------------------------------------
		
		public static const APP_KEY:String = '1009cf1db9fa450cb773aa980835f333';
		public static const APP_SECRET:String = 'd31ed3d2434b7d72f44aaa3d8dd23b85';
		public static const COPYRIGHT:String = 'Copyright 2010-2011 Rogo\'s Team';
		public static const REFRESH_INTERVAL:Number = 30000;
		public static const PAGE_COUNT:int = 20;
		
		//--------------------------------------------------------------------------
		//
		//  Variables
		//
		//--------------------------------------------------------------------------
		
		private static var instance:App;
		public var verifyUser:String;
		public var profilePageUser:String;
		public var friendPageUser:String;
		public var friendPageIsFollower:Boolean = false;
		
		public var mainPageDisplay:String = PageMainConst.DISPLAY_MAIN;
		public var mainPageUser:String;
		
		//--------------------------------------------------------------------------
		//
		//  Methods
		//
		//--------------------------------------------------------------------------
		
		public static function getInstance():App
		{
			if (!instance)
				instance = new App();
			return instance;
		}
		
	}
}